import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jws;
import io.jsonwebtoken.Jwts;

public class test {
    public static void main(String[] args) {
        String access_token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiYmFzaWMiXSwidXNlcl9uYW1lIjoiMSIsInNjb3BlIjpbImFsbCJdLCJleHAiOjE2NjY2OTU1MjksImF1dGhvcml0aWVzIjpbIjEiXSwianRpIjoiNmMxNjkzZDAtODZiOC00NDAwLTgyMDctZjRlZWI2MmY0NzA3IiwiY2xpZW50X2lkIjoiYmFzaWMifQ.nWIjS8_eYbwlXbd0F60FzcfrlHInCEBFAeKhj9mEaMw";
        Jws<Claims> jws = Jwts.parser().setSigningKey("eyetoplight").parseClaimsJws(access_token);
        System.out.println(jws.getBody().get("exp"));
        ;
    }
}
